package com.pth.service;
import java.util.List;

import com.pth.model.Knowledge;
import com.pth.utils.PageBean;

public interface KnowledgeService {

	public void add(Knowledge knowledge);
	
	public void delete(Knowledge knowledge);
	
	public void modify(Knowledge knowledge);
	
	public Knowledge getKnowledgeByid(int id);
	
	public PageBean getKnowledges(final int pagesize,final int page);
	
	public List<Knowledge> getKnowledgesOrderByScannum();
	
	
	List<Knowledge> getAllKnowledges();
	
	void createIndex();
	
}
